import request from '@/utils/http'

export const getProductNameListApi = () => request.post('/asset/manage/product/list')

export const getProductTablesApi = (data) => request.post('/asset/manage/product/tables', data)

export const getProductChartApi = async (data) => await request.post('/asset/manage/product/trend/chart', data)

export const getProductFluctuationApi = async (data) => await request.post('/asset/manage/product/daily/fluctuation', data)

export const getProductBondApi = async (data) => await request.post('/asset/manage/product/bond', data)

export const getProductBondSecondApi = async (data) => await request.post('/asset/manage/product/bond/second', data)

export const getProductIncomeApi = async (data) => await request.post('/asset/manage/product/income', data)